package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.ColorSensor;
import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by jychuah on 11/3/13.
 */
public class MyOtherNXTThread extends NXTThread {
    public MyOtherNXTThread() {
        setNXTThreadName("Socks and Sandals");
    }
    public void run() {
        runMotor(PORT_A,80);
        runMotor(PORT_B,100);
        wait(2500);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A,100);
        runMotor(PORT_B,80);
        wait(2500);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(20000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();

    }
}
